package com.kstech.exccheck.creatxml.view;

import android.app.Activity;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.kstech.exccheck.R;


public class EditActivity extends Activity {
    private FragmentManager fragmentManager;
    private FragmentTransaction fragmentTransaction;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_edit);
        fragmentManager = getFragmentManager();
        fragmentTransaction = fragmentManager.beginTransaction();
        ListFragMent listFragMent = new ListFragMent();
        ListEditFragment listEditFragment = new ListEditFragment();
        fragmentTransaction.replace(R.id.ll_list,listFragMent,"list");
        fragmentTransaction.replace(R.id.ll_list_edit,listEditFragment,"list_edit");
        fragmentTransaction.commit();
    }
}
